package com.yaoyong.yy_demo.module.wechat;

import java.io.Serializable;
import java.util.List;

/**
 * 封装回复微信消息的实体类
 *
 * @author 姚勇
 */
@SuppressWarnings("serial")
public class WxMessage implements Serializable {
    /**
     * 开发者微信号
     */
    private String ToUserName;
    /**
     * 发送方帐号（一个OpenID）
     */
    private String FromUserName;
    /**
     * 消息创建时间 （整型）
     */
    private String CreateTime;
    /**
     * 消息类型
     */
    private String MsgType;

    /**
     * 回复文本消息
     */
    private String Content;

    /**
     * 回复图片消息
     */
    private Image Image;

    /**
     * 回复语音消息
     */
    private Voice Voice;

    /**
     * 回复视频消息
     */
    private Video Video;

    /**
     * 回复音乐消息
     */
    private Music Music;

    /**
     * 回复图文消息 图文消息个数，限制为8条以内
     */
    private String ArticleCount;
    /**
     * 是 多条图文消息信息，默认第一个item为大图,注意，如果图文数超过8，则将会无响应
     */
    private List<Article> Articles;

    public String getToUserName() {
        return ToUserName;
    }

    public void setToUserName(String toUserName) {
        ToUserName = toUserName;
    }

    public String getFromUserName() {
        return FromUserName;
    }

    public void setFromUserName(String fromUserName) {
        FromUserName = fromUserName;
    }

    public String getCreateTime() {
        return CreateTime;
    }

    public void setCreateTime(String createTime) {
        CreateTime = createTime;
    }

    public String getMsgType() {
        return MsgType;
    }

    public void setMsgType(String msgType) {
        MsgType = msgType;
    }

    public String getContent() {
        return Content;
    }

    public void setContent(String content) {
        Content = content;
    }

    public Image getImage() {
        return Image;
    }

    public void setImage(Image image) {
        Image = image;
    }

    public Voice getVoice() {
        return Voice;
    }

    public void setVoice(Voice voice) {
        Voice = voice;
    }

    public Video getVideo() {
        return Video;
    }

    public void setVideo(Video video) {
        Video = video;
    }

    public Music getMusic() {
        return Music;
    }

    public void setMusic(Music music) {
        Music = music;
    }

    public String getArticleCount() {
        return ArticleCount;
    }

    public void setArticleCount(String articleCount) {
        ArticleCount = articleCount;
    }

    public List<Article> getArticles() {
        return Articles;
    }

    public void setArticles(List<Article> articles) {
        Articles = articles;
    }

}
